Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(stepfunction-tasks/route53-targets/lambda-events-source): break dependencies on experimental modules #14227

Merged
merged 11 commits into from
Apr 19, 2021

Conversation

NetaNir
Copy link
Contributor

@NetaNir NetaNir commented Apr 16, 2021

stepfunction-tasks, route53-targets, events-targets and lambda-events-source are all stable modules, as such they are not allowed to depend on experimental modules. This PR breaks these dependencies by "untyping" APIs, meaning accepting strings instead of types. In the future, when the experimental modules will become stable, the untyped APIs will be deprecated in favor of typed APIs.

This work is in preparation of v2, in which all stable modules will be released under a single package - aws-cdk-lib.

BREAKING CHANGE:

  • stepfunctions-tasks: CallApiGatewayHttpApiEndpoint API now requires the apiId and it's containing Stack.
  • stepfunctions-tasks: BatchSubmitJob now accept jobDefinitionArn and jobQueueArn.
  • stepfunctions-tasks: RunBatchJob now accept jobDefinitionArn and jobQueueArn.
  • route53-targets: ApiGatewayv2Domain was replaced with ApiGatewayv2DomainProperties which accepts regionalDomainName and regionalHostedZoneId.
  • aws-lambda-event-sources: cluster was removed from ManagedKafkaEventSourceProps and replaced with clusterArn
  • events-targets: The BatchJob integration now requires the arn and the Resource for the jobQueue and the jobDefinition.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Apr 16, 2021

@NetaNir NetaNir changed the title feat(stepfunction-tasks/route53-targets): add apigwv2 interface to th… feat(stepfunction-tasks/route53-targets/lambda-events-source): break dependencies on experimental modules Apr 18, 2021
@NetaNir NetaNir requested a review from iliapolo April 18, 2021 09:29
Comment on lines +54 to +55
"props-no-arn-refs:@aws-cdk/aws-stepfunctions-tasks.BatchSubmitJobProps.jobDefinitionArn",
"props-no-arn-refs:@aws-cdk/aws-stepfunctions-tasks.BatchSubmitJobProps.jobQueueArn"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shall return!

@iliapolo iliapolo added the pr/do-not-merge This PR should not be merged at this time. label Apr 18, 2021
@NetaNir NetaNir changed the title feat(stepfunction-tasks/route53-targets/lambda-events-source): break dependencies on experimental modules feat(stepfunction-tasks/route53-targets/lambda-events-source/events-targets): break dependencies on experimental modules Apr 18, 2021
@iliapolo iliapolo changed the title feat(stepfunction-tasks/route53-targets/lambda-events-source/events-targets): break dependencies on experimental modules chore(stepfunction-tasks/route53-targets/lambda-events-source): break dependencies on experimental modules Apr 18, 2021
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: a78b415
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@NetaNir NetaNir merged commit 12b71cb into master Apr 19, 2021
@NetaNir NetaNir deleted the neta/apigw-dep branch April 19, 2021 03:07
nija-at pushed a commit that referenced this pull request Apr 20, 2021
Increase the scrutiny on how breaking changes are formatted.

Motivation
A previous PR - #14227 - incorrectly specified breaking changes that
standard-release failed to record in the changelog.
mergify bot pushed a commit that referenced this pull request Apr 21, 2021
Increase the scrutiny on how breaking changes are formatted.

Motivation
A previous PR - #14227 - incorrectly specified breaking changes that
standard-release failed to record in the changelog.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
john-tipper pushed a commit to john-tipper/aws-cdk that referenced this pull request May 10, 2021
Increase the scrutiny on how breaking changes are formatted.

Motivation
A previous PR - aws#14227 - incorrectly specified breaking changes that
standard-release failed to record in the changelog.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
… dependencies on experimental modules (aws#14227)

*chore(stepfunction-tasks/route53-targets/lambda-events-source): break dependencies on between stable and experimental modules
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
Increase the scrutiny on how breaking changes are formatted.

Motivation
A previous PR - aws#14227 - incorrectly specified breaking changes that
standard-release failed to record in the changelog.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-route53-targets contribution/core This is a PR that came from AWS. pr/do-not-merge This PR should not be merged at this time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants